package cn.iocoder.yudao.module.dr.controller.admin.collectionlinkaddress.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "管理后台 - 藏品模型链接地址新增/修改 Request VO")
@Data
public class CollectionLinkAddressSaveReqVO {

    @Schema(description = "自增ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "8771")
    private Long id;

    @Schema(description = "藏品ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "2071")
    @NotNull(message = "藏品ID不能为空")
    private Long collectionId;

    /**
     * 类型(0 三位地址)
     */
    @Schema(description = "类型(0：藏品主图 1：藏品图片 2：藏品音频 3: 藏品视频 4：藏品三维 5：链接地址 6：藏品三维精准)")
    private String type ;

    /**
     * 类型 1：藏品 2：二维图 3：三维图
     */
    @Schema(description = "业务类型 1：藏品 2：二维图 3：三维图")
    private String bizType;


    /**
     * 文件名称
     */
    @Schema(description = "文件名称")
    private String fileName ;

    @Schema(description = "链接地址", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "链接地址不能为空")
    private String linkAddress;

}